package com.yunji.product.vo;

import com.yunji.product.domain.AttrValuesDO;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.product.vo
 * @Title: ProductAttrVo
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-14 14:42:06      V1.0        HuaAo       新建类
 */

public class AttrVo {

    @ApiModelProperty("属性ID")
    private Long attrId;

    @ApiModelProperty(value = "商品属性", required = true)
    private String attrName;

    @ApiModelProperty(value = "属性值", required = true)
    private List<AttrValuesDO> attrValues;

    @ApiModelProperty(value = "排序", required = true)
    private Integer sort;

    public String getAttrName() {
        return attrName;
    }

    public Long getAttrId() {
        return attrId;
    }

    public void setAttrId(Long attrId) {
        this.attrId = attrId;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }

    public List<AttrValuesDO> getAttrValues() {
        return attrValues;
    }

    public void setAttrValues(List<AttrValuesDO> attrValues) {
        this.attrValues = attrValues;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}